package com.sansi.pencilbook.service;

import com.sansi.pencilbook.DO.Result;
import com.sansi.pencilbook.entity.Admin;

/**
 * 功能说明: 管理员的服务接口
 *
 * @author lsy13
 */
public interface AdminServer {

    public Result login(String account, String password);

    public Result getAllAdmin();

    public Result getAdminByAccount(String account);

    public Result modifyAdmin(Admin admin);

    public Result saveAdmin(Admin admin);

}
